package cn.hhu.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.hhu.dao.UserDao;
import cn.hhu.domain.User;
@Service
public class UserService {

	@Autowired
	private UserDao userDao;
	
	public void delete(){
		userDao.deleteUser();
	}
	public void add(User user){
		
		userDao.addUser(user);
	}
}